package xxxx.com.model;

import xxxx.com.annotation.MyField;
import xxxx.com.annotation.Table;

import java.util.Date;

@Table("user_info")
public class UserInfo {
    /**
     * 用户id
     */
    @MyField("user_id")
    private Integer userId;

    /**
     * 真实姓名
     */
    @MyField("real_name")
    private String realName;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 性别: ‘0’-男  ‘1’-女
     */
    private String gender;

    /**
     * 自我介绍
     */
    private String desc;

    /**
     * 注册时间
     */
    @MyField("register_time")
    private Date registerTime;

    /**
     * 上一次登录时间
     */
    @MyField("login_time")
    private Date loginTime;

    /**
     * 头像地址
     */
    private String pic;

    /**
     * 查看数
     */
    private Integer look;


    public UserInfo() {
    }



    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getLook() {
        return look;
    }

    public void setLook(Integer look) {
        this.look = look;
    }


}
